//
//  RecommendHeaderView.swift
//  swiftDemo
//
//  Created by Gerry on 2021/12/2.
//

import UIKit

class RecommendHeaderView: UICollectionReusableView {
    let titleLabel : UILabel = UILabel()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        self .addSubview(titleLabel)
        titleLabel.font = UIFont.systemFont(ofSize: 16)
        titleLabel.snp.makeConstraints { make in
            make.centerY.equalTo(self)
            make.left.equalTo(10)
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
